package com.github.ppamorim.sample.cult;

import com.github.ppamorim.cult.CultView;
import com.github.ppamorim.cult.ResourceTable;
import com.github.ppamorim.sample.cult.slice.MainAbilitySlice;
import ohos.aafwk.ability.Ability;
import ohos.aafwk.content.Intent;
import ohos.app.Context;

public class MainAbility extends Ability {

    private static Context context;
    @Override
    public void onStart(Intent intent) {
        super.onStart(intent);
        super.setMainRoute(MainAbilitySlice.class.getName());
        context = this;

    }

    public static Context getAppContext(){
        return context;
    }
}
